
import { defineComponent } from "vue";
import classes from "./App.module.scss"
import { RouterView } from "vue-router";
import Header from "./components/Header";
import Footer from "./components/Footer";
import { ElAffix } from "element-plus"

export default defineComponent({
  setup(props, ctx) {
    return () => {
      return (
        <div class={`m-fullBox m-window ${classes.app}`}>
          <ElAffix offset={0}>
            <Header></Header>
          </ElAffix>
          <div class={classes.container}>
            <RouterView></RouterView>
          </div>
          <Footer></Footer>
        </div>
      )
    }
  }
})